package com.czhouse.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("houses")
public class Houses extends BasePojo {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer villId;
    private String village;
    private String name;
    private String seller;
    private Integer price;
    private Integer userId;
    //平米
    private Integer squareNum;
    //栋
    private Integer floor;
    //单元
    private Integer unit;
    //门牌
    private Integer room;

}
